from flask import Flask
from util.logger_utils import setup_logger
from api.callback import callback
from api.test import test
app = Flask(__name__)
logger = setup_logger('web主程序日志')

app.register_blueprint(callback, url_prefix='/api')
app.register_blueprint(test, url_prefix='/api')

if __name__ == '__main__':
    logger.info('启动了web主程序')
    # 定义端口 11088
    app.run(debug=False,port=11088)